// -*- coding: utf-8 -*- 
/**
 * Project: LanQiao
 * Creator: yanking
 * Create time: 2022-02-20 15:40
 * IDE: IntelliJ IDEA
 * Introduction:
 */
package FJString;

public class FJString {
    public String[] res = new String[26];

    public void initRes() {
        // 初始化String数组Res
        res[0] = "A";
        for (int i = 1; i < 26; i++) {
            StringBuilder builder = new StringBuilder(res[i - 1]);
            res[i] = builder.append((char) (65 + i)).append(res[i - 1]).toString();
        }
    }

    public String getRes(int n) {
        initRes();
        return res[n - 1];
    }


}
